import axios from '@/ajax/axios';
import { COLLET_API } from '@/ajax/base';

export function collect(query) {
  const form = new FormData();
  form.set('content', query);
  return axios({
    url: COLLET_API('/api/FrontCollect/Entry?/ums'),
    method: 'post',
    data: form,
    headers: { 'content-type': 'application/x-www-form-urlencoded' }
  });
}
